<template>
  <div :style="{width:'100%',position:'relative'}"  controls crossorigin playsinline>
          <video  loop muted autoplay>
              <source :src="src.mvUrl" type="video/mp4" />
              <source :src="src.mvUrl" type="video/ogg" />
                  <!-- 针对不支持 <video> 元素的兼容 -->
              <a :href="src.mvUrl">Download</a>
          </video>
  </div>
</template>

<script>
// import { player } from './index';

export default {
  name: 'PlayerMv',
  props: ['src'],
  data() {
    return {
      player: null,
      loading: false,
    };
  },
  created() {
    console.log(this);
  },
};
</script>

<style lang="scss" scoped>
</style>
